Making aspect-orientation accessible through syntax-based language composition
نویسندگان
چکیده
A generic syntax-based approach is presented by which a fixed set of aspect-oriented features belonging to an aspect language family LA can be applied to a DSL. The approach centers on the construction of a grammar in which a predefined and fixed set of abstract join points and join point environments are linked with their concrete counterparts within the DSL. This connection enables the behavior of static weaving to be expressed in a generic manner. The resulting framework is one in which aspect-orientation is accessible to non-experts across a wide spectrum of abstractions.
منابع مشابه
Aspect Diagrams for UML Activity Models
Aspect-orientation has gained increasing popularity, especially within the programming domain, with textual-based approaches such as AspectJ. Aspect-orientation provides an approach to the organization and management of code that cross-cut elements of the base program or library. Cross-cutting aspects is also an issue within the modeling domain, and it is therefore likely that modeling language...
متن کاملPreprocessing C + + : Substitution and Composition
Problems with the lexical substitution mechanism of the C preprocessor are well known. We resolve these problems with a new syntax-based substitution mechanism for C++ based on meta-variables and metafunctions. Implementation of these meta-concepts in a C++ style leads naturally to meta-expressions and then meta-statements and a generalisation of C++ syntax. We show how meta-compilation renders...
متن کاملHow to Deal with Encapsulation
Encapsulation has received considerable interest in the context of object-oriented programming. In particular the encapsulation of objects that are composed through inheritance has been discussed repeatedly [Snyder 86, Micallef 88]. Aspect-oriented composition has similar considerations. However, most approaches to aspect-orientation or multi-dimensional composition of concerns do not enforce e...
متن کاملOptimization of form, aspect ratio and orientation of building based on solar radiation and wind direction (Case studies: Tabriz, Yazd and Bandar Abbas cities)
The renewable energies (such as solar energy), could be provided through designing architectural and urban spaces compatible with the climate and the ecosystem of the region, taking into consideration the architectural features of the building such as its form, dimensions and orientation. The purpose of this research was to determine the most suitable form, aspect ratio and orientation of the b...
متن کاملAspect-Oriented Compilers
Aspect-oriented programming provides the programmer with means to cross-cut conventional program structures, in particular the class hierarchies of object-oriented programming. This paper studies the use of aspect orientation in structuring syntax directed compilers. Syntax-directed compilers are often speci ed by means of attribute grammars. Such speci cations are typically structured by produ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- IET Software
دوره 3 شماره
صفحات -
تاریخ انتشار 2009